package com.mf.config;

import java.sql.Types;

import org.hibernate.Hibernate;
import org.hibernate.dialect.Oracle10gDialect;

public class CustomMyOracleDialect extends Oracle10gDialect {
	public CustomMyOracleDialect() {
		registerHibernateType(Types.NVARCHAR, Hibernate.STRING.getName());
		registerColumnType(Types.VARCHAR, "nvarchar($1)");
		registerColumnType(Types.CLOB, "nclob");
		registerColumnType(Types.NCLOB, "nclob");
	}
}